import request from '@/utils/request'

export function fetchList(query) {
	return request.get('/adminMember/selectMemberByPage', {
		params: {
			...query
		}
	})
}

export function activeUser(data) {
	return request.get('/adminMember/selectMemberByPage', {
		params: {
			...query
		}
	})
}

export function createUser(data) {
	return request.get('/adminMember/selectMemberByPage', {
		params: {
			...query
		}
	})
}

export function updateUser(data) {
	return request.get('/adminMember/selectMemberByPage', {
		params: {
			...query
		}
	})
}

export function deleteUser(id, nickname) {
	return request.get('/adminMember/selectMemberByPage', {
		params: {
			...query
		}
	})
}
